<?php
  //si no tiene permiso de ver la pagina muestra un mensaje
  if (!Permisos($idSysSection)):?>
<html>
<head>
	<title><?= $instanciaECRM ?></title>
	<link rel="stylesheet" href="<?php echo $Cte_Path; ?>styles/style.css" type="text/css">
</head>
<body leftmargin="0" class="mainBackground" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr><td><img src="<?php echo $Cte_Path; ?>images/headerBar.gif" width="590" height="60" alt=""></td></tr>
  <tr>
    <td><table width="800" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td bgcolor="#FFFFFF" valign="top" height="400">

<table border="0" cellpadding="5" cellspacing="0" width="750">
  <tr><td colspan="2"><table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr><td colspan="2"><img src="<?php echo $Cte_Path; ?>images/spacer.gif" height="10" width="1" alt=""></td></tr>
    <tr><td><strong class="pageTitle">Acceso No Autorizado</strong></td><td align="right"><a href="http://www.cacto.com/" target="_blank"><img src="<?php echo $Cte_Path; ?>images/trademarkCacto.gif" alt="Cacto" border="0"></a><br>
<strong class="systemTitle"><?= $instanciaECRM ?></strong><br>Perfil <strong><?= $PerfilUsuario ?></strong></td></tr>
  </table>
  </td>
  </tr>
   <tr><td colspan="2">
        <table border="0" cellpadding="5" cellspacing="1" class="mainTableBG">
          <tr class="answerCellBG">
            <td><img src="<?php echo $Cte_Path; ?>images/icArrowGo.gif" height="13" width="13" alt=""></td>
            <td><a href="javascript:history.back();" target="content">Regresar</a></td>
          </tr>
        </table>
      </td></tr>
  <tr>
  <td valign="top" class="pageSubtitle"><br>
<br>
   No tiene permisos para ingresar a esta secci&oacute;n, por favor confirme con su Administrador.
  
          </td>
          <td width="36">&nbsp;</td>
        </tr>
      </table></td>
  </tr>
</table>
</form>
<br>
<br>
<br>
<table width="750" border="0" cellpadding="5" cellspacing="0">
  <tr>
    <td align="right"><span class="copyright"><?= $copyright ?></span></td>
  </tr>
</table>
</body>
</html>
<?
    die();
  endif;
?>
